package com.gl.order.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gl.order.commom.ResultBean;
import com.gl.order.entity.dto.OrderExcelDto;
import com.gl.order.entity.vo.OrderPageVo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;


/**
 * @Author: zhoujian
 * @Date: 2021/6/24 14:25
 * @ClassName: AreaService
 */
public interface ProcessService {

    /**
     * 添加流程信息
     */
    public void saveOrUpdateLc(Map<String, String> paramMap);

    /**
     * 添加或修改流程节点信息
     * @param paramMap
     */
    public void saveOrUpdateLcJd(Map<String, String> paramMap);

    /**
     * 查询流程节点信息
     * @param zbwid
     * @return
     */
    public ResultBean queryProcessInfo(String zbwid);

    /**
     * 保存草稿
     * @param param
     * @return
     */
    public ResultBean auditProcess(@RequestBody Map<String,Object> param) throws Throwable;

    /**
     * 查询代办数据
     * @param param
     * @return
     */
    public ResultBean queryDbsxData(@RequestBody Map<String,Object> param);

    /**
     * 查询配置信息
     * @param jdwid
     * @return
     */
    public ResultBean queryConfigColumns(String jdwid);

    void excelExport(HttpServletResponse response, Map<String,Object> paramMap) throws IOException;
}
